package com.logos.musicframe.converter;

import com.logos.musicframe.entity.PlaylistCollected;
import com.logos.musicframe.req.PlaylistCollectedReq;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


/**
 * @author logos
 * date 2025/5/29 17:57
 * @version v1.0
 * @Package com.logos.musicframe.converter
 */
@Mapper
public interface PlaylistCollectedConverter {

    PlaylistCollectedConverter INSTANCE = Mappers.getMapper(PlaylistCollectedConverter.class);

    /**
     * Req TO entity
     * @param playlistReq
     * @return
     */
    PlaylistCollected convertReqToEntity(PlaylistCollectedReq playlistReq);

}